package com.hoshiicloud.saleorder.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
*
* </p>
*
* @author zhangshuhu
* @since 2019-06-03
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PodetailDTO对象", description="")
public class PodetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
    * 采购单ID
    */
    @ApiModelProperty(value = "采购单ID")
    private Long poId;
    /**
    * 主订单明细ID
    */
    @ApiModelProperty(value = "主订单明细ID")
    private Long orderDetailId;
    /**
    * 商品名称
    */
    @ApiModelProperty(value = "商品名称")
    private String spuName;
    /**
    * 规格
    */
    @ApiModelProperty(value = "规格")
    private String skuName;
    /**
    * sp uno
    */
    @ApiModelProperty(value = "sp uno")
    private String spuNo;
    /**
    * spu id
    */
    @ApiModelProperty(value = "spu id")
    private Long spuId;
    /**
    * SKU NO
    */
    @ApiModelProperty(value = "SKU NO")
    private String skuNo;
    /**
    * SKU ID
    */
    @ApiModelProperty(value = "SKU ID")
    private BigDecimal skuId;
    /**
    * 税率
    */
    @ApiModelProperty(value = "税率")
    private BigDecimal rate2;
    /**
    * 税额
    */
    @ApiModelProperty(value = "税额")
    private BigDecimal rateAmount;
    /**
    * 金额
    */
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;
    /**
    * 商品单位
    */
    @ApiModelProperty(value = "商品单位")
    private String unit;
    /**
    * 规格
    */
    @ApiModelProperty(value = "规格")
    private String sku;
    /**
    * 单价
    */
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;
    /**
    * 数量
    */
    @ApiModelProperty(value = "数量")
    private Long quantity;
    /**
    * 状态 0-初始 1-已出库 2-已作废
    */
    @ApiModelProperty(value = "状态 0-初始 1-已出库 2-已作废")
    private Integer status;
    /**
    * 运费
    */
    @ApiModelProperty(value = "运费")
    private BigDecimal shippingCost;
    /**
    * 其他费用
    */
    @ApiModelProperty(value = "其他费用")
    private BigDecimal otherCost;
    /**
    * 税率
    */
    @ApiModelProperty(value = "税率")
    private BigDecimal rate;
    /**
    * 税额
    */
    @ApiModelProperty(value = "税额")
    private BigDecimal rateFee;
    /**
    * 合计金额
    */
    @ApiModelProperty(value = "合计金额")
    private BigDecimal totalAmount;
    /**
     * 供应商id-数据组装用
     */
    @ApiModelProperty(value = "供应商id")
    private Long vendorId;
}
